package basic.w3;

public class AnimalTest {
    public static void main(String[] args) {
        Animal a = new Cat();
        a.makeNoise();
        a.eat();

        a = new Wolf();
        a.makeNoise();
        a.eat();
    }
}
